Skip to content

Fix infinite loop when fallback character xml is malformed. - #1199

Open
hackx2 wants to merge 1 commit into
CodenameCrew:mainfrom
hackx2:fix-malformed-char-xml-loop
Open

hackx2 wants to merge 1 commit into
CodenameCrew:mainfrom
hackx2:fix-malformed-char-xml-loop

Conversation

@hackx2

@hackx2 hackx2 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Prior to this PR, if the fallback character XML was malformed, Character.getXMLFromCharName would loop forever.

Now, if parsing the fallback character XML fails, an empty character node is returned in its place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant